export default [
  {
    path: "/",
    redirect: "/home",
  },
  {
    path: "/home",
    component: "home",
  },
  {
    path: "/cate",
    component: "cate",
  },
  {
    path: "/cart",
    wrappers: ["@/auth"],
    component: "cart",
  },
  {
    path: "/user",
    wrappers: ["@/auth"],
    component: "user",
  },
  {
    path: "/detail",
    component: "detail",
  },
  {
    path: "/itemLists/:cateId",
    component: "itemLists",
  },
  {
    path: "/login",
    component: "login",
  },
  {
    path: "/reg",
    component: "register",
  }
];
